#ifndef RXREMOTE_H_
#define RXREMOTE_H_

#include "stm32f10x.h"

typedef struct
{
    int16_t roll;
    int16_t pitch;
    int16_t thr;
    int16_t yaw;
    int16_t aux1;
    int16_t aux2;
    int16_t aux3;
    int16_t aux4;
} _st_TxRemote;

typedef struct
{
    int16_t state;
    float roll;
    float pitch;
    float yaw;
} _st_RxRemote;

uint8_t rxRemote_analysis(void);

#endif /* RXREMOTE_H_ */
